Platform Explorer / Nuxeo Platform 2021.48

Contribution org.nuxeo.ecm.user.center.action.widgets--widgets

This contribution is part of XML component org.nuxeo.ecm.user.center.action.widgets inside nuxeo-user-center-2021.48.10.jar /OSGI-INF/action-widgets-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

34
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="homeTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">#{useAjaxTabs}</property>
            <property name="category">USER_CENTER</property>
            <property name="actions">#{userCenterViews.availableActions}</property>
            <property name="currentTabAction">#{userCenterViews.currentView}</property>
            <property name="overallDisplay">vertical_block</property>
          </properties>
        </widget>
  • <widget name="userCenterSubTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">#{useAjaxTabs}</property>
            <property name="actions">
              #{userCenterViews.availableSubActions}
            </property>
            <property name="currentTabAction">#{userCenterViews.currentSubView}</property>
            <property name="hideSingleTab">
              #{not
              currentUserCenterView.properties.alwaysDisplaySubTabs}
            </property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="homeTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="category">USER_CENTER</property>
        <property name="actions">#{userCenterViews.availableActions}</property>
        <property name="currentTabAction">#{userCenterViews.currentView}</property>
        <property name="overallDisplay">vertical_block</property>
      </properties>
    </widget>

    <widget name="userCenterSubTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="actions">
          #{userCenterViews.availableSubActions}
        </property>
        <property name="currentTabAction">#{userCenterViews.currentSubView}</property>
        <property name="hideSingleTab">
          #{not
          currentUserCenterView.properties.alwaysDisplaySubTabs}
        </property>
      </properties>
    </widget>

  </extension>